﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace System.Linq
{

    public class FilterParameters
    {

        public string Field { get; set; }

        public bool IsIncluded { get; set; } = true;

        public bool IsAnd { get; set; } = false;

        public string Keyword { get; set; }

        public FilterParameters()
        {
        }

        public FilterParameters(string field, bool isIncluded, string keyword)
        {
            Field = field;
            IsIncluded = isIncluded;
            IsAnd = false;
            Keyword = keyword;
        }

        public FilterParameters(string field, bool isIncluded, bool isAnd, string keyword)
        {
            Field = field;
            IsIncluded = isIncluded;
            IsAnd = isAnd;
            Keyword = keyword;
        }

    }

}